package lablayer.view.stat;

import lablayer.view.ViewComponent;

/**
 * @author Darkness
 */

public class ViewLinkComponentBuffer {
}

var viewComponent: ViewComponent = null;

public function getViewComponent(): ViewComponent {
    return ViewLinkComponentBuffer.viewComponent;
}

public function setViewComponent(viewComponent: ViewComponent): Void {
    if (viewComponent != null) {
        ViewLinkComponentBuffer.viewComponent = viewComponent;
    }
}

public function clear(): Void {
    ViewLinkComponentBuffer.viewComponent = null;
}

